<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
   <script>
       const obj={"a":"one","b":"two","a":"three"}
       console.log(obj);//{"a":"three","b":"two"}
    //    如果对象具有两个相同名称的键，则将覆盖前面的键。他让处于第一个位置，但具有最后指定的值
    </script> 
</body>
</html>